function tplReplace(template, replaceObject) {
    return template.replace(/\{\{(.*?)\}\}/, (node, key) => {
        return replaceObject[key]
    })
}

module.exports = { tplReplace }